package io.github.idol.utils

import android.databinding.BindingAdapter
import android.widget.ImageView
import com.bumptech.glide.Glide

@BindingAdapter("avatarUrl")
fun ImageView.loadAvatarImage(url:String){
    Glide.with(context)
            .load(url)
            .into(this)
}